package com.allin.mall.user.enums;

import com.allin.mall.common.redis.enums.RedisKey;

public enum UserRedisKey implements RedisKey {

    LEADERBOARD("LEADERBOARD", "排行榜"),
    ;

    private final String key;

    private final String message;

    UserRedisKey(String key, String message) {
        this.key = key;
        this.message = message;
    }

    @Override
    public String getKey() {
        return key;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
